package java04;
//数组的拷贝
public class ArrayTest01 {
    public static void main(String[] args){
        int[] src = {1,2,3,4,5,6};
        int[] dest = new int[10];
        System.arraycopy(src,0,dest,0,src.length);
        for(int i = 0; i < dest.length; i++){
            System.out.println(dest[i]);
        }
    }
}
